home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
sun4c
/
archive
/
printer_.z
/
printer_
/
slib
/
printer_hack
Wrap
Text File
|
1994-09-26
|
244b
|
8 lines
#
# printer_hack -- Install this in .cshrc
# (example of using xmenu)
#
set printers=`egrep '^[^ #].*\|' /etc/printcap | sed 's/|.*$//'`
alias setprint 'setenv PRINTER `xmenu -geometry +0+0 -heading "Choose a printer: " $printers`'